<?
    include './common.php';
    $replyId = $_POST['replyId'];
    $replyUser = $_POST['replyUser'];
    $replyMsg = $_POST['replyMsg'];
    $sql = "INSERT INTO reply (`uid`,`username`,`message`) VALUES ({$replyId},'{$replyUser}','{$replyMsg}')";
    // echo $sql;
    $res = mysqli_query($link,$sql);
    $data = [] ; 
    if($res){
        $data['status'] = 1 ; 
        $data['info'] = "成功" ;
    } else {
        $data['status'] = 0 ; 
        $data['info'] = "失败" ;
    }
    echo json_encode($data);
?>